package com.ljx.itbbs.server.user.service;

import com.ljx.itbbs.server.user.domain.entity.RoleEntity;
import com.ljx.itbbs.server.user.domain.vo.req.RoleGiveReq;
import com.ljx.itbbs.server.user.domain.vo.req.RoleSaveReq;
import com.ljx.itbbs.server.user.domain.vo.req.RoleUpdateReq;
import com.ljx.itbbs.server.user.domain.vo.resp.RoleResp;

import java.util.List;

public interface RoleService {


    List<RoleEntity> getByUId(Long userId);

    void saveRoleInfo(RoleSaveReq req);

    void updateRoleInfo(RoleUpdateReq req);

    RoleResp getRoleInfo(Long roleId);

    List<RoleResp> getRoleList();
}
